package com.project.yuepai.dao;

import com.project.yuepai.model.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper {

    int deleteByPrimaryKey(Integer adminId);

    int insert(Admin record);

    Admin selectByPrimaryKey(Integer adminId);

    int updateByPrimaryKey(Admin record);

    Admin getAdminByNamePWd(@Param("name") String name, @Param("pwd") String pwd);

}
